Skip to content

Conversation

Copy link

Copilot AI commented Oct 8, 2025

Problem

The create-tag.yaml workflow was failing with the following error:

Error: Version spec '5.x' resolved as '5.12.0' does not satisfy the range '>=6.1.0 <7.0.0'.
See https://github.com/GitTools/actions/blob/main/docs/versions.md for more information.

This occurred because the workflow was using incompatible versions:

  • GitTools/actions v4.1.0 requires GitVersion >=6.1.0 <7.0.0
  • The workflow specified GitVersion 5.x which resolves to 5.12.0

According to the GitTools/actions version compatibility matrix:

GitTools/actions GitVersion GitReleaseManager Node.js Azure DevOps Agent
v4.x >=6.1.0 <7.0.0 >=0.20.0 >=20.0.0 4.244.1

Solution

Updated the GitVersion versionSpec from '5.x' to '6.x' in .github/workflows/create-tag.yaml to align with the GitTools/actions v4.x requirements.

Changes

  • Updated .github/workflows/create-tag.yaml line 27: versionSpec: '6.x'

This minimal change ensures the workflow can successfully install a compatible GitVersion (e.g., 6.1.0 or later) that satisfies the v4.x action requirements, allowing the tag creation workflow to run successfully.

Original prompt

Workflow /.github/workflows/create-tag.yaml is failing due to incompatibility of versions for GitTools

Issue as logged by the failed run:

Install GitVersion
Run GitTools/actions@b82e662
Running on: 'GitHub Actions'
Disable Telemetry
Acquiring GitVersion.Tool for version spec: 5.x
Querying tool versions for [email protected]
Found matching version: 5.12.0
Error: Version spec '5.x' resolved as '5.12.0' does not satisfy the range '>=6.1.0 <7.0.0'.See https://github.com/GitTools/actions/blob/main/docs/versions.md for more information.
Error: Version spec '5.x' resolved as '5.12.0' does not satisfy the range '>=6.1.0 <7.0.0'.See https://github.com/GitTools/actions/blob/main/docs/versions.md for more information.

Version matrix:
Versions and Compatibility
GitTools/actions GitVersion GitReleaseManager Node.js Azure DevOps Agent
v1.x >=5.2.0 <6.1.0 >=0.10.0 <0.19.0 >=0.10.0 <20.0.0 2.220.0
v2.x >=5.2.0 <6.1.0 >=0.10.0 <0.20.0 >=20.0.0 3.224.0
v3.x >=5.2.0 <7.0.0 >=0.19.0 <0.21.0 >=20.0.0 3.224.0
v4.x >=6.1.0 <7.0.0 >=0.20.0 >=20.0.0 4.244.1

Update the /.github/workflows/create-tag.yaml to be compatible


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI changed the title [WIP] Fix GitVersion compatibility issue in workflow Fix GitTools/actions and GitVersion compatibility in create-tag workflow Oct 8, 2025
Copilot AI requested a review from katriendg October 8, 2025 07:51
Copilot finished work on behalf of katriendg October 8, 2025 07:51
@katriendg katriendg marked this pull request as ready for review October 8, 2025 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants